package com.copc.common.model;

import com.copc.common.annotation.Validation;
import com.copc.common.constants.ValidConstants;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 导出参数的vo
 */
@ApiModel
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ExportDataVO {

    @ApiModelProperty(value = "平台唯一标识appId" )
    @Validation(message = "appId不可为空")
    private String appId;

    @ApiModelProperty(value = "开始日期",required = true)
    @Validation(message = "startDate格式不正确",pattern = ValidConstants.DATE_VAILD)
    private String startDate;

    @ApiModelProperty(value = "结束日期",required = true)
    @Validation(message = "endDate格式不正确",pattern = ValidConstants.DATE_VAILD)
    private String endDate;

}
